package message

import "fmt"

type stepRecorder struct {
	cost float64
	call string
}

func (ts *stepRecorder) E3LogMarshall() string {
	return fmt.Sprintf(`{"call":%s,"cost":%.3fs}`, ts.call, ts.cost)
}
